<div class="hide">
    <?php foreach (DoctorLocationTable::getInstance()->findAll() as $doctorLocation): ?>
    <?php $doctor = $doctorLocation->getDoctor() ?>
        <div id="google-map-profile-<?php echo $doctorLocation->getId() ?>" class="google-map-profile">
            <div class="row-1st">
                <div class="inline-block">
                    <div class="photo">
                        <a href="/<?php echo $doctor->getUser()->getSlug() ?>">
                            <?php include_partial("doctor_show/potrait", array("doctor" => $doctor, "height" => 96)) ?>
                        </a>
                    </div>
                    <div class="google-map-actions">
                        <button class="button book-now" doctorid="<?php echo $doctor->getId() ?>" type="submit">Book now</button>                    
                    </div>
                </div>
                <div class="inline-block">
                    <div class="info">
                        <a href="/<?php echo $doctor->getUser()->getSlug() ?>" class="name-title">
                            <?php echo $doctor->getUser() ?> - MD                                             
                        </a>
                        <div class="rating">
                            <?php include_partial("doctor/rating_static", array("doctor" => $doctor, "doctorAverageRating" => $doctor->getAverageRating())) ?>                    
                        </div>
                        <div class="location-details">
                            <div class="street-address"><?php echo $doctorLocation->getStreetAddress() ?></div>
                            <div class="area"><?php echo $doctorLocation->getArea() ?></div>
                            <div class="post-code"><?php echo $doctorLocation->getPostCode() ?></div>
                        </div>
                    </div>
                </div>
            </div>
        </div>                         
    <?php endforeach; ?>	
</div>